Wraps a nkExport::ExporterLoadResult and offer functions for use in scripting.
More...
Wraps a nkExport::ExporterLoadResult and offer functions for use in scripting.
◆ updateEnvironment()
static void nkAstraeus::nkExportWrap::ExporterLoadResultWrapper::updateEnvironment |
( |
nkScripts::Environment * |
env | ) |
|
|
static |
Updates a given environment and set it up to use all functions wrapped by this wrapper.
- Parameters
-
env | The environment to set up. |
◆ destructor()
static void nkAstraeus::nkExportWrap::ExporterLoadResultWrapper::destructor |
( |
void * |
toDestroy | ) |
|
|
static |
Wrapper function for the destructor of the user type.
- Parameters
-
toDestroy | The data that has to be freed. |
◆ getTree()
Wrapper function for the nkExport::ExporterLoadResult::_tree attribute reading.
local d = t.tree ;
- Parameters
-
object | The data from which the attribute will be retrieved. |
- Returns
- The attribute value, as a string.
◆ getError()
Wrapper function for the nkExport::ExporterLoadResult::_error attribute reading.
local d = t.error ;
- Parameters
-
object | The data from which the attribute will be retrieved. |
- Returns
- The attribute value, as a string.
The documentation for this class was generated from the following file: